<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style type="text/css">
      .container {
        display: grid;
        /* 定义网格列（百分比、长度单位、fr占比等） */
        grid-template-columns: 1fr 1fr 1fr;

        grid-auto-rows: 100px;

        /* 网格间隔(上下左右) */
        gap: 10px; /* 新标准取消: grid- 前缀 */

        /* TODO: 其他特性 */

        margin: 0 auto;
        border: black solid;
        width: 500px;
        height: 500px;
      }
      .wrapper {
        height: 100px;
        background-color: rgb(107, 92, 92);
      }
    </style>
  </head>
  <body>
    <div class="container">
      <div class="wrapper"></div>
      <div class="wrapper"></div>
      <div class="wrapper"></div>
      <div class="wrapper"></div>
      <div class="wrapper"></div>
      <div class="wrapper"></div>
      <div class="wrapper"></div>
    </div>
  </body>
</html>
